package com.pubinfo.passbook.common.model.vo.contract;


import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 收款管理-列表  视图实体
 * 和发票列表可以共用 发票字段让前端去除 已收款金额和已开支金额
 */
@Accessors(chain = true)
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class FeeCollectionListVo implements Serializable {

    @ApiModelProperty("帐套")
    private String accountCase;

    @ApiModelProperty("单位")
    private String company;

    @ApiModelProperty("承接部门")
    private String department;

    @ApiModelProperty("年份")
    private Integer contractYear;

    @ApiModelProperty("合同编号")
    private String contractCode;

    @ApiModelProperty("合同名称")
    private String contractName;

    @ApiModelProperty("合同金额")
    private BigDecimal contractAmount;

    @ApiModelProperty("承办人")
    private String contractorUser;

    @ApiModelProperty("已开票金额")
    private String invoiceAmount;

    @ApiModelProperty("已收款金额")
    private BigDecimal payedAmount;

    @ApiModelProperty("已开支金额")
    private BigDecimal costAmount;

    @ApiModelProperty("合同流水号")
    private Integer contractId;

}
